package com.travel.model.dto.user;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDate;
//搜索请求dto 搜索关键词 城市 分类 开始日期 结束日期
@Data
@Schema(description = "Search Request DTO")
public class SearchRequest {
    @Schema(description = "Search keyword", example = "beijing")
    private String keyword;

    @Schema(description = "City filter", example = "Beijing")
    private String city;

    @Schema(description = "Category filter", example = "Food")
    private String category;

    @Schema(description = "Start date filter", example = "2024-03-01")
    private LocalDate startDate;

    @Schema(description = "End date filter", example = "2024-03-31")
    private LocalDate endDate;
} 